<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php
$partners = $block->getPartners();
?>
<?php if ($partners) : ?>
    <div class="row row-gutter">
        <?php foreach ($block->getPartners() as $partner) : ?>
            <div class="col-m-4">
                <img
                    class="partner-image"
                    src="<?php echo $block->escapeHtml($partner['img']);?>"
                    alt="<?php echo $block->escapeHtml($partner['title']);?>"/>
                <h3 class="partner-title"><?php echo $block->escapeHtml($partner['title']);?></h3>
                <p class="partner-description">
                    <?php echo $block->escapeHtml($partner['description']);?>
                    <br />
                    <a href="<?php echo $block->escapeHtml($partner['url_page']);?>" target="_blank">
                        <?php /* @escapeNotVerified */ echo __('Read More'); ?>
                    </a>
                    <br />
                    <a href="<?php echo $block->escapeHtml($partner['url_partner_page']);?>" target="_blank">
                        <?php /* @escapeNotVerified */ echo __('Partner Page'); ?>
                    </a>
                </p>
            </div>
        <?php endforeach; ?>
    </div>
<?php else : ?>
    <p>
        <?php /* @escapeNotVerified */ echo __('No partners were found'); ?>
    </p>
<?php endif; ?>
